﻿Imports System.ComponentModel.DataAnnotations

Namespace Ita.ProElicere.Model

    Public Class Project
        <ScaffoldColumn(False)> _
        Public Property ProjectID() As Integer


        Public Property CompanyID() As System.Nullable(Of Integer)
        Public Overridable Property Company() As Company

        <Required(ErrorMessage:="The name is required"), StringLength(100), Display(Name:="Name")> _
        Public Property ProjectName() As String

        <Required(ErrorMessage:="The description is required"), StringLength(100), Display(Name:="Description")> _
        Public Property Description() As String

        <Required(ErrorMessage:="The area is required"), StringLength(100), Display(Name:="Area")> _
        Public Property Area() As String


        Public Overridable Property Questionnaires() As ICollection(Of Questionnaire)
        Public Overridable Property ProjectUsers() As ICollection(Of ProjectUser)

    End Class
End Namespace